import http from '../http.js'
export const login = (params) => http.post("sys/login",params)
export const logout = (params) => http.post("sys/logout",params)
export const getUserInfo = (params) => http.get("sys/user/info",params)
export const getMenu = () => http.get("sys/menu/nav")